package com.zhiyu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author zhiyu
 * @date 2020/10/10 11:30
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfoOk(Integer id) {
        return "FallbackService";
    }

    @Override
    public String paymentInfoTimeout(Integer id) {
        return "FallbackService";
    }
}
